public enum PrintStatusCmd extends java.lang.Enum<PrintStatusCmd>
Enum Constant and Description |
---|
cmd_Normal
正常状态查询
Normal status query
|
cmd_PrintFinish
打印完成情况查询
(自动回复)
Print completion query
|
cmd_UnKnow
未定义
|
Modifier and Type | Method and Description |
---|---|
static PrintStatusCmd |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintStatusCmd[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintStatusCmd cmd_UnKnow
public static final PrintStatusCmd cmd_Normal
public static final PrintStatusCmd cmd_PrintFinish
public static PrintStatusCmd[] values()
for (PrintStatusCmd c : PrintStatusCmd.values()) System.out.println(c);
public static PrintStatusCmd valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null